package com.atguigu.oss.service;

import java.io.InputStream;

/**
 * @title: FileService
 * @Author danghailiang
 * @Date: 2022/9/23 18:39
 * @Version 1.0
 */
public interface FileService {


    /**
     * 文件上传至阿里云
     */
    String upload(InputStream inputStream, String module, String fileName);


    /**
     * 根据路径删除文件
     * @param url
     */
    void remove(String url);
}